package com.liefox.serviceorder.client;

import com.liefox.serviceedu.entity.frontVo.CourseWebVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author zjh
 * @Date 2021/7/22 下午 2:38
 **/
@Component
@FeignClient(name = "service-edu")
public interface EduClient {
    @PostMapping("/serviceedu/coursefront/getCourseInfoOrder/{courseId}")
    public CourseWebVo getCourseInfoOrder(@PathVariable("courseId") String courseId);
}
